// W25Q128 command table
#ifndef W25Q128_CMD_H
#define W25Q128_CMD_H
    // #include "W25Q128.h"
    #define W25X_WriteEnable		    0x06 
    #define W25X_WriteDisable		    0x04 
    #define W25X_ReadStatusReg_1		0x05 
    #define W25X_ReadStatusReg_2        0x35
    #define W25X_ReadStatusReg_3        0x15
    #define W25X_WriteStatusReg		    0x01 
    #define W25X_ReadData			    0x03 
    #define W25X_FastReadData		    0x0B 
    #define W25X_FastReadDual		    0x3B 
    #define W25X_PageProgram		    0x02 
    #define W25X_BlockErase			    0xD8 
    #define W25X_SectorErase		    0x20 
    #define W25X_ChipErase			    0xC7 
    #define W25X_PowerDown			    0xB9 
    #define W25X_ReleasePowerDown	    0xAB 
    #define W25X_DeviceID			    0xAB 
    #define W25X_ManufactDeviceID   	0x90 
    #define W25X_JedecDeviceID		    0x9F 
    #define W25X_Unique_ID              0x4B

    #define W25Q128_BUSY_bit            (1<<0)
    #define W25Q128_WEL_bit             (1<<1)
    #define W25Q128_BP0_bit             (1<<2)
    #define W25Q128_BP1_bit             (1<<3)
    #define W25Q128_BP2_bit             (1<<4)
    #define W25Q128_TB_bit              (1<<5)
    #define W25Q128_SEC_bit             (1<<6)
#endif
